<script setup lang="ts">
import { defineOptions } from 'vue'

defineOptions({ inheritAttrs: false })
</script>

<template>
  <div v-el-drag-dialog>
    <el-dialog v-bind="$attrs" :append-to-body="false">
      <template #header>
        <slot name="header"></slot>
      </template>
      <slot></slot>
      <template #footer v-if="$slots.footer">
        <slot name="footer"></slot>
      </template>
    </el-dialog>
  </div>
</template>
